class FixPieceSizeLimitation < ActiveRecord::Migration
  def self.up
	  ("a".."h").each do |col|
		  (1..8).each do |row|
			  change_column :positions, "#{col}#{row}", :string, :limit => 2, :default => " "
			end
		end
  end

  def self.down
	  ("a".."h").each do |col|
		  (1..8).each do |row|
			  change_column :positions, "#{col}#{row}", :string, :limit => 1, :default => " "
			end
		end
  end
end
